package com.cskaoyan.mall.model.message;

import java.sql.Time;

/**
 * @author: jyf2000jyf
 */
public class ReplyMsgVO {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private String content;
    private String replyContent;
    private Integer state;
    private ReplyMsgVOInnerObject user = new ReplyMsgVOInnerObject();
    private ReplyMsgVOInnerObject goods = new ReplyMsgVOInnerObject();
    private Time createtime;
    private String username;
    private String goodsName;

    public ReplyMsgVO() {
    }

    public ReplyMsgVO(Integer id, Integer userId, Integer goodsId, String content, Integer state, ReplyMsgVOInnerObject user, ReplyMsgVOInnerObject goods, Time createtime) {
        this.id = id;
        this.userId = userId;
        this.goodsId = goodsId;
        this.content = content;
        this.state = state;
        this.user = user;
        this.goods = goods;
        this.createtime = createtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public ReplyMsgVOInnerObject getUser() {
        return user;
    }

    public ReplyMsgVOInnerObject getGoods() {
        return goods;
    }

    public Time getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Time createtime) {
        this.createtime = createtime;
    }

    public void setUsername(String username) {
        this.user.setName(username);
    }

    public void setGoodsName(String goodsName) {
        this.goods.setName(goodsName);
    }
}
